package com.autologistics.service;

import java.util.List;

import com.autologistics.model.Machine;
import com.autologistics.util.PageBean;

public interface MachineService {
	/**
	 * @return �ն��б� or null 
	 * @author cl
	 */
	public List<Machine> listAll();
	public List<Machine> listByState(int state);
	/**
	 * @param id
	 * @return ��������
	 */
	public Machine getById(int id);
	/**
	 * @param id
	 * @return ��������
	 */
	public Machine getByAddressId(int id);
	public void add(Machine machine);
	public void updata(Machine machine);
	public PageBean queryForOnePage(final int pageSize, int page,int allRow);
}
